package com.lagou.utils;

import com.lagou.service.UserService;
import com.lagou.service.UserServiceImpl;

import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

public class InterfaceMapUtils {
    public static Map<String,Class<?>> interfaceMap = new ConcurrentHashMap<>();
    static{
        Class<UserService> helloServiceClass = UserService.class;
        String hello = helloServiceClass.getName();
        Class<UserService> hiServiceClass = UserService.class;
        String hi = hiServiceClass.getName();
        interfaceMap.put(hello, UserServiceImpl.class);
        interfaceMap.put(hi, UserServiceImpl.class);
    }
}
